package com.htl.泛型;

public class MyInterface__test<T> implements MyInterface<T> {

    private T obj;

    public T getObj() {
        return obj;
    }

    public void setObj(T obj) {
        this.obj = obj;
    }

    @Override
    public T getValue() {
        return null;
    }


    public static void main(String[] args) {
        MyInterface__test<String> myInterface__test = new MyInterface__test<>();
//        myInterface__test
    }

}


interface MyInterface<T>{
    public T getValue();
}